package com.zsk.demo;

import java.io.Serializable;

import java.util.*;
public class zy1{
        public static void main(String[] args){
                ArrayList <Object> list = new  ArrayList <Object>  (10);

            for(int i=1;i<=10;i++){
                        list.add(i);
                }
            HashSet<Object> set = new HashSet<Object>(list);
                System.out.println(set);
        }
}


